package com.ss.android.article.base.feature.detail2.widget.a;

import android.content.Context;

import com.ss.android.article.browser.R;
import com.ss.android.article.common.NightModeAsyncImageView;

public final class DetailAdAppLayout extends BaseDetailLayout {
    private NightModeAsyncImageView appIconIv;

    public DetailAdAppLayout(Context context) {
        super(context);
    }

    public final void adaptNightMode(boolean isNightMode) {
        super.adaptNightMode(isNightMode);
        this.appIconIv.adaptNightMode(isNightMode);
    }

    public final void initView() {
        super.initView();
        this.appIconIv = this.findViewById(com.ss.android.article.browser.R.id.appicon);
    }

    public final int getLayoutRes() {
        return R.layout.new_ad_app_layout;
    }
}

